#pragma once
#include "qs_config.h"
typedef void(*qs_rf_protocol_on_1ms_handle_s)(void);
typedef void(*qs_tft_protocol_on_10ms_handle_s)(void);
typedef void (*qs_on_key_10ms_handle_s)(void);
typedef void (*qs_on_action_20ms_handle_s)(void);
typedef void (*qs_on_action_1s_handle_s)(void);

uint64_t get_sys_runtime_ms(void);
void qs_sched_processing(void);
qs_ret_code_t qs_sched_init(void);

void qs_rf_protocol_on_1ms_handle_set(qs_rf_protocol_on_1ms_handle_s on_1ms_handle);
void qs_tft_protocol_on_10ms_handle_set(qs_tft_protocol_on_10ms_handle_s on_tft_protocol_10ms_handle);
void qs_on_key_10ms_handle_set(qs_on_key_10ms_handle_s on_key_10ms_handle);
void qs_on_action_20ms_handle_set(qs_on_action_20ms_handle_s on_action_20ms_handle);
void qs_on_action_1s_handle_set(qs_on_action_1s_handle_s on_action_1s_handle);